{if count($aItems) > 0}
<table style="width: 100%;" cellpadding="4" cellspacing="0">
	<tr>
		<td class="border2">
			<table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
					<td class="block_header">{language text="my_blogs"}</td>
				</tr>
			</table>
			{foreach from=$aItems item=aItem key=iKey name=aitems}
			 <div style="padding:5px;font-size:9pt;"{if $iKey % 2 == 0} class="border13"{/if}>
				<div style="padding:3px;"><a class="link_description" href="{url link='public.blog.view' id=$aItem.id foxseotitle=$aItem.title}">{$aItem.title|process_code|escape}</a></div>
				<div style="padding-left:10px;padding-top:3px;">{$aItem.time|date_format:$sDateTimeFormat}</div>
			 </div>
			{foreachelse}
			<div class="message_info">
			{language text="there_are_no_blogs_submit"}
			</div>
			{/foreach}
			{if $aItems}
			 <div style="padding:8px;text-align:right;font-size:8pt;">
			 <a class="link_action" href="{url link='public.user.blogs' name=$sUser}">[ {language text="view_all_entries"} ]</a>
			 </div>
			{/if}
		</td>
	</tr>
</table>
<br />
{/if}